home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
MIDI_MAN
/
CMIDIOUT.H
< prev
next >
Wrap
Text File
|
1992-03-07
|
1KB
|
42 lines
//--- CMIDIOutputPort.h -------------------------------------------------------
// Copyright ⌐ Paul Ferguson, 1990, 1991, 1992. All rights reserved.
//
//
// Description:
// Refer to the CMIDI Programmer's Manual for a complete desciption of
// these objects and methods.
// For use with THINK C 5.0 and the THINK Class Library.
//
//----------------------------------------------------------------------------
#pragma once
#include "CMIDIDataPort.h"
#include "CMIDITimePort.h"
class CMIDIOutputPort : public CMIDIDataPort
{
public:
OSErr IMIDIOutputPort(
StringPtr theName, // Pascal format, 31 char max
OSType thePortID,
Boolean theVisibleFlag,
CMIDITimePort * theTimePort,
long theOffset);
virtual OSErr WritePacket(MIDIPacketPtr theMIDIPacket);
virtual OSErr Write(char * theData, short theDataLen);
virtual OSErr WriteTS(
char * theData,
short theDataLen,
long theTimeStamp);
private:
virtual OSErr DoMIDIWrite(
char * theData,
short theDataLen,
unsigned char theFlags,
long theTimeStamp);
};
// end of CMIDIOutputPort.h